package com.ccsoft.atools.service;

import com.ccsoft.atools.dao.Vue3roleMapper;
import com.ccsoft.atools.model.Vue3role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Vue3roleServiceImpl implements Vue3roleService {
    @Autowired
    private Vue3roleMapper dao;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return dao.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Vue3role record) {
        return dao.insert(record);
    }

    @Override
    public int insertSelective(Vue3role record) {
        return dao.insertSelective(record);
    }

    @Override
    public Vue3role selectByPrimaryKey(Integer id) {
        return dao.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Vue3role record) {
        return dao.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Vue3role record) {
        return dao.updateByPrimaryKey(record);
    }

    @Override
    public List<Vue3role> selectAll() {
        return dao.selectAll();
    }
}
